//
//  UIViewController+YHNaivigationItem.h
//  MoreCoin
//
//  Created by 林宁宁 on 2019/9/19.
//  Copyright © 2019 MoreCoin. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (YHNaivigationItem)


@property (retain, nonatomic) UIButton * yh_rightNavcButton;
@property (retain, nonatomic) UIButton * yh_leftNavcButton;



-(void)yh_setNavLeftImagesOrTitles:(NSArray *)leftImages
                            handle:(void (^ _Nullable)(UIButton * btn, NSInteger index))leftHandleBlock;
-(void)yh_setNavLeftImagesOrTitles:(NSArray *)leftImages
                            handle:(void (^ _Nullable)(UIButton * btn, NSInteger index))leftHandleBlock
                         btnConfig:(void (^ _Nullable)(UIButton * btn, NSInteger index))configBlock;

-(void)yh_setNavRightImagesOrTitles:(NSArray *)rightImages
                             handle:(void (^ _Nullable)(UIButton * btn, NSInteger index))rightHandleBlock;
-(void)yh_setNavRightImagesOrTitles:(NSArray *)rightImages
                             handle:(void (^ _Nullable)(UIButton * btn, NSInteger index))rightHandleBlock
                          btnConfig:(void (^ _Nullable)(UIButton * btn, NSInteger index))configBlock;


@end

NS_ASSUME_NONNULL_END
